/**     
 * @Title: UserCreateForm.java   
 * @Package me.springboot.vo   
 * @Description: TODO
 * @author weiwei 
 * @date 2017年9月1日 上午9:51:33   
 * @version V1.0     
 */
package me.springboot.vo;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @ClassName: UserCreateForm
 * @Description: TODO
 * @author weiwei
 * @date 2017年9月1日 上午9:51:33
 * 
 */
public class UserCreateForm {

	@NotEmpty
	private String username;

	@NotEmpty
	private String password;

	@NotEmpty
	private String passwordRepeat;

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the passwordRepeat
	 */
	public String getPasswordRepeat() {
		return passwordRepeat;
	}

	/**
	 * @param passwordRepeat
	 *            the passwordRepeat to set
	 */
	public void setPasswordRepeat(String passwordRepeat) {
		this.passwordRepeat = passwordRepeat;
	}

	@Override
	public String toString() {
		return "UserCreateForm [username=" + username + ", password=" + password + ", passwordRepeat=" + passwordRepeat + "]";
	}
}
